﻿@{
    ViewBag.Title = Model.ProductTypeName;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model DE_MVC_WyFy.Areas.Administrator.Models.ProductType
<div class="pro-title">
    <span class="pro">@Model.ProductTypeName</span> <span class="detail">@Html.ActionLink("Xem thêm", "Detail", new { controller = "ProductType", id = Model.ProductTypeID })</span>
    <div class="nav">
        <ul>
            @foreach (var item in ViewBag.Nav)
            {
                String s = item.ProductTypeName;
                <li>@Html.ActionLink(s, "Detail", new { controller = "ProductType", id = item.ProductTypeID })</li>
            }
        </ul>
    </div>
</div>
<div class="products">
    <div class="cl">
        &nbsp;
    </div>
    <ul>
        @foreach (var item in ViewBag.Product)
        {   
            <li><a href="@Url.Content(String.Format("~/Product/Detail/{0}", item.ID))">
                <img src="@DE_MVC_WyFy.BLL.AppHelper.ImageFashsion@item.ProductImage" />
            </a>
                <div class="product-info">
                    <h3>@item.Name</h3>
                    <div class="product-desc">
                        <h4>@DE_MVC_WyFy.BLL.AppHelper.Sex(item)</h4>
                        <p>
                            @DE_MVC_WyFy.BLL.AppHelper.Description(item.Description)
                        </p>
                        <strong class="price">@DE_MVC_WyFy.BLL.AppHelper.Price(item.Price)</strong>
                    </div>
                </div>
            </li>
        }
    </ul>
    <div class="cl">
        &nbsp;
    </div>
</div>

